home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 3.4 KB | 217 lines | [TEXT/MPS ] |
- ;
- ; File: ToolUtils.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__TOOLUTILS__') = 'UNDEFINED' THEN
- __TOOLUTILS__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- IF &TYPE('__QUICKDRAW__') = 'UNDEFINED' THEN
- include 'Quickdraw.a'
- ENDIF
- ; include 'MixedMode.a' ;
- ; include 'QuickdrawText.a' ;
-
- IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
- include 'OSUtils.a'
- ENDIF
- ; include 'Memory.a' ;
-
- IF &TYPE('__TEXTUTILS__') = 'UNDEFINED' THEN
- include 'TextUtils.a'
- ENDIF
- ; include 'Script.a' ;
- ; include 'IntlResources.a' ;
- ; include 'Events.a' ;
-
- IF &TYPE('__FIXMATH__') = 'UNDEFINED' THEN
- include 'FixMath.a'
- ENDIF
-
- sysPatListID EQU 0
- iBeamCursor EQU 1
- crossCursor EQU 2
- plusCursor EQU 3
- watchCursor EQU 4
-
- Int64Bit RECORD 0
- hiLong ds.l 1
- loLong ds.l 1
- sizeof EQU 8
- ENDR
-
- IF GENERATING68K THEN
- _FixRatio: OPWORD $A869
- ELSE
- IMPORT FixRatio
- ENDIF
-
- IF GENERATING68K THEN
- _FixMul: OPWORD $A868
- ELSE
- IMPORT FixMul
- ENDIF
-
- IF GENERATING68K THEN
- _FixRound: OPWORD $A86C
- ELSE
- IMPORT FixRound
- ENDIF
-
- IF GENERATING68K THEN
- _PackBits: OPWORD $A8CF
- ELSE
- IMPORT PackBits
- ENDIF
-
- IF GENERATING68K THEN
- _UnpackBits: OPWORD $A8D0
- ELSE
- IMPORT UnpackBits
- ENDIF
-
- IF GENERATING68K THEN
- _BitTst: OPWORD $A85D
- ELSE
- IMPORT BitTst
- ENDIF
-
- IF GENERATING68K THEN
- _BitSet: OPWORD $A85E
- ELSE
- IMPORT BitSet
- ENDIF
-
- IF GENERATING68K THEN
- _BitClr: OPWORD $A85F
- ELSE
- IMPORT BitClr
- ENDIF
-
- IF GENERATING68K THEN
- _BitAnd: OPWORD $A858
- ELSE
- IMPORT BitAnd
- ENDIF
-
- IF GENERATING68K THEN
- _BitOr: OPWORD $A85B
- ELSE
- IMPORT BitOr
- ENDIF
-
- IF GENERATING68K THEN
- _BitXor: OPWORD $A859
- ELSE
- IMPORT BitXor
- ENDIF
-
- IF GENERATING68K THEN
- _BitNot: OPWORD $A85A
- ELSE
- IMPORT BitNot
- ENDIF
-
- IF GENERATING68K THEN
- _BitShift: OPWORD $A85C
- ELSE
- IMPORT BitShift
- ENDIF
-
- IF GENERATING68K THEN
- IF GENERATING68K THEN
- _LongMul: OPWORD $A867
- ELSE
- IMPORT LongMul
- ENDIF
-
- ENDIF
- IF OLDROUTINELOCATIONS THEN
- IF GENERATING68K THEN
- _GetIcon: OPWORD $A9BB
- ELSE
- IMPORT GetIcon
- ENDIF
-
- IF GENERATING68K THEN
- _PlotIcon: OPWORD $A94B
- ELSE
- IMPORT PlotIcon
- ENDIF
-
- ENDIF
- IF GENERATING68K THEN
- _GetPattern: OPWORD $A9B8
- ELSE
- IMPORT GetPattern
- ENDIF
-
- IF GENERATING68K THEN
- _GetCursor: OPWORD $A9B9
- ELSE
- IMPORT GetCursor
- ENDIF
-
- IF GENERATING68K THEN
- _GetPicture: OPWORD $A9BC
- ELSE
- IMPORT GetPicture
- ENDIF
-
- IF GENERATING68K THEN
- _SlopeFromAngle: OPWORD $A8BC
- ELSE
- IMPORT SlopeFromAngle
- ENDIF
-
- IF GENERATING68K THEN
- _AngleFromSlope: OPWORD $A8C4
- ELSE
- IMPORT AngleFromSlope
- ENDIF
-
- IF GENERATING68K THEN
- _DeltaPoint: OPWORD $A94F
- ELSE
- IMPORT DeltaPoint
- ENDIF
-
- IF GENERATING68K THEN
- _ShieldCursor: OPWORD $A855
- ELSE
- IMPORT ShieldCursor
- ENDIF
-
- IF GENERATING68K THEN
- Macro
- _ScreenRes
- dc.w $225F
- dc.w $32B8
- dc.w $0102
- dc.w $225F
- dc.w $32B8
- dc.w $0104
- EndM
- ELSE
- IMPORT ScreenRes
- ENDIF
-
- ENDIF ; __TOOLUTILS__
-